package cn.interestingshop.service;

import cn.interestingshop.dao.notice.NoticeDao;
import cn.interestingshop.dao.notice.NoticeDaoImpl;
import cn.interestingshop.model.entity.Notice;

import java.util.List;

public class NoticeServiceImpl implements NoticeService {

    NoticeDao dao = new NoticeDaoImpl();

    @Override
    public List<Notice> getNotice() {
        return dao.getNotice();
    }
}